package com.xpoint.backend.dto;

import com.xpoint.backend.entity.Dish;
import com.xpoint.backend.entity.DishFlavor;
import lombok.Data;

import java.util.ArrayList;
import java.util.List;
@Data
//DTO 又称数据传输对象。Data  Transfer Object
public class DishDto extends Dish {
    List<DishFlavor> flavors = new ArrayList<>();

    private String categoryName;

    private Integer copies;
}
